package com.kcyu.sfherp.mapper.ms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kcyu.sfherp.entity.Custom;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface CustomMapper extends BaseMapper<Custom> {

    @Select("select * from kh where khname like '%${khinfo}%' or khbh like '%${khinfo}%'")
    public List<Custom> queryCustomInfoByNameOrBh(@Param("khinfo") String khinfo);
}
